<div class="sidebar sidebar-style-2" data-background-color="dark">
	<div class="sidebar-wrapper scrollbar scrollbar-inner">
		<div class="sidebar-content">
			<div class="user">
				<div class="avatar-sm float-left mr-2">
					<img src="__STATIC__/manage/assets/img/profile.jpg" alt="..." class="avatar-img rounded-circle">
				</div>
				<div class="info">
					<a data-toggle="collapse" href="#collapseExample" aria-expanded="true">
								<span>
									{$user_info.phone}
									<span class="user-level">{$group_info.title}</span>

								</span>
					</a>
					<div class="clearfix"></div>

				</div>
			</div>
			<ul class="nav nav-primary">

				<li class="nav-item {if condition='$behavior == "Index/index"'}active{/if}">
					<a href="{:url('index/index')}" class="collapsed" aria-expanded="false">
						<i class="fas fa-home"></i>
						<p>首页</p>
					</a>
				</li>


				{volist name="menu" id="vo"}

				<li class="nav-item {if condition='$vo.name == $active["active"]'}active{/if}">
					<a data-toggle="collapse" href="#{$vo.title}">
						<i class="{$vo.icon}"></i>
						<p>{$vo.title}</p>
						<span class="caret"></span>
					</a>
					<div class="collapse {if condition='$vo.name == $active["active"]'}show{/if}" id="{$vo.title}">
						<ul class="nav nav-collapse">
							{notempty name='vo.menu_p'}
								{volist name="vo.menu_p" id="vo_p"}
									{notempty name='vo_p.menu_p'}

										<li class="submenu">
											<a data-toggle="collapse" href="#{$vo_p.title}" class="" aria-expanded="false">
												<span class="sub-item">{$vo_p.title}</span>
												<span class="caret"></span>
											</a>
											<div class="collapse {if condition='$vo_p.name == $active["active2"]'}show{/if}" id="{$vo_p.title}" style="">
												<ul class="nav nav-collapse subnav">
													{volist name="vo_p.menu_p" id="vo_p2"}
													<li class="submenu {if condition='$vo_p2.name == $behavior'}active{/if}">
														<a href="{:url($vo_p2.name)}">
															<span class="sub-item">{$vo_p2.title}</span>
														</a>
													</li>
													{/volist}
												</ul>
											</div>
										</li>

									{else /}
										<li class="{if condition='$vo_p.name == $behavior'}active{/if}">
											<a href="{:url($vo_p.name)}">
												<span class="sub-item">{$vo_p.title}</span>
											</a>
										</li>
									{/notempty}
								{/volist}
							{/notempty}
						</ul>
					</div>
				</li>

				{/volist}


			</ul>
		</div>
	</div>
</div>